package cn.blbsz.shop.domain.p;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;

@Entity
@Table(name = "t_user_fund")
@Getter
@Setter
public class UserFundEntity implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 286205574069328070L;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    private Long userId;

    @Column(name = "gold_coin")
    private BigDecimal goldennum;

    @Column(name = "silver_coin")
    private BigDecimal silvernum;

    @Column(name = "copper_coin")
    private BigDecimal coppernum;
}
